using MediatR;
using RBAC.ErrorCode;

namespace RBAC.Write.Api.Application.Command.ProcessManagements
{
    /// <summary>
    /// 编辑工序分类
    /// </summary>
    public class UpdateProcessClassificationCommand : IRequest<APIResult<int>>
    {

        /// <summary>
        /// ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工序分类编号
        /// </summary>
        public string ClassificationCode { get; set; } = string.Empty;

        /// <summary>
        /// 工序分类名称
        /// </summary>
        public string ClassificationName { get; set; } = string.Empty;

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; } = 0;

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; } = 1; // 1=启用,0=禁用

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
